package com.itheima.health.service.impl;

import com.itheima.health.dao.OrdersettingDao;
import com.itheima.health.pojo.OrderSetting;
import com.itheima.health.service.OrdersettingService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
public class OrdersettingServiceImpl implements OrdersettingService {

    @Resource
    private OrdersettingDao ordersettingDao;


    /**
     *  批量插入
     * @param settingList 添加数据集合
     */
    @Override
    public void add(List<OrderSetting> settingList) {
        this.ordersettingDao.add(settingList);
    }
}
